<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<div class="col-xs-12" style="margin-top:5px;">
	<table id="simple-table" class="table table-bordered table-hover">
		<thead>
			<tr>
				<th class="center">序号</th>
				<th class="center">员工姓名</th>
				<th class="center">用户头像</th>
				<th class="center">充值ID</th>
				<th class="center">用户昵称</th>
				<th class="center">邀请码</th>
				<th class="center">代理级别</th>
				<th class="center">房卡数</th>
				<th class="center">剩余金币数</th>
				<th class="center">金币充值总金额</th>
				<th class="center">金币充值总数</th>
				<th class="center">上级ID</th>
				<th class="center">微信号</th>
				<th class="center">电话</th>
			</tr>
		</thead>
		
		<tbody>
			<c:forEach items="${data}" var="itm" varStatus="i">  
		       <tr>
					<td class="center">${i.index + 1}</td>
				   <td class="center">${itm.name }</td>
				    <td class="center">
				    <img width=50 height=50 src="${itm.userImg }" onerror="onerror=null;src='https://res.wx.qq.com/a/wx_fed/common_assets/16120602/win_weixin21/images/phone_logo2x.png'" />
				    </td>
					<td class="center">${itm.juniorUserId }</td>
					<td class="center">${itm.nickName }</td>
					<td class="center">${itm.agentId }</td>
					<td class="center">${itm.agentLevel }</td>
					<td class="center">${itm.goldeggs }</td>
					<td class="center">${itm.score }</td>
				    <td class="center">${itm.goldFee }</td>
					<td class="center">${itm.goldCount }</td>
					<td class="center">${itm.groupId }</td>
					<td class="center">${itm.accounts }</td>
					<td class="center">${itm.phoneNum }</td>

				</tr>
		    </c:forEach>  
				
			</tbody>
		</table>
		<%@include file="../../paging.jsp" %>
</div>

